package com.hzncc.flowable_diboot.rabbitmq.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MqttConfig {
    @Value("${spring.rabbitmq.username}")
    private String username;

    @Value("${spring.rabbitmq.password}")
    private String password;

    @Value("${spring.rabbitmq.url}")
    private String url;

    @Value("${spring.rabbitmq.clientId}")
    private String clientId;

    @Value("${spring.rabbitmq.subTopic}")
    private String subTopic;

    @Value("${spring.rabbitmq.pubTopic}")
    private String pubTopic;

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getUrl() {
        return url;
    }

    public String getClientId() {
        return clientId;
    }

    public String getSubTopic() {
        return subTopic;
    }

    public String getPubTopic() {
        return pubTopic;
    }
}
